{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block content %}
<data class="p-name" value="{{config.USERNAME}} liked"></data>
{% include "header.html" %}
<div class="content pure-u-1 pure-u-md-3-4">
<div>
<div class="posts">
<h1 class="content-subhead">Liked Posts</h1>
{% for item in liked %}
{% if item.meta.object %}
{{ utils.display_note(item.meta.object, default_avatar=config.DEFAULT_ICON,ui=True,meta={'actor': item.meta.object_actor,'liked': item.remote_id}, index=True, limit=config.PREVIEW_LIMIT) }}
{% endif %}
{% endfor %}
{{ utils.display_pagination(older_than, newer_than) }}
</div>
</div>
{% endblock %}
{% block links %}
<link rel="alternate" href="{{ config.BASE_URL }}/liked" type="application/activity+json">
{{ utils.display_pagination_links(older_than, newer_than) }}{% endblock %}
